/**
 * 登录验证
 */

const loginCheck = (req) => {
    if (!req.session.username) {
        return Promise.resolve('未登录')
    }
}

module.exports = {
    loginCheck
}